/**
*@author Cc
*@date 2022.03
*/

package com.humenxiaoyan;
import java.util.Scanner;

public class FlyZooDemo {
    public static void main(String[] args){
        String[] animalNames = {"1:FW刀","2:中国龙","3:小狐利","4:加拿大电鳗"};
        for(int i = 0; i < animalNames.length; i++){
            System.out.println(animalNames[i]);
        }
        Scanner s = new Scanner(System.in);
        int option = s.nextInt();
        s.nextLine();

        switch(option) {
            case 1:
            FwDao a = new FwDao();
            a.setId("001");
            a.setName("FW刀");
            a.setFromplace("东百沈阳");
            a.setCountry("中国");
            a.setSuperpower("润");
            a.show();
            break;

            case 2:
            ChinaLong b = new ChinaLong();
            b.setId("002");
            b.setName("中国龙");
            b.setFromplace("中国");
            b.setCharacter("五爪金龙，体格壮硕");
            b.setAbility("喷水");
            b.show();
            break;

            case 3:
            MightyFox c = new MightyFox();
            c.setId("003");
            c.setName("小狐利");
            c.setFromplace("西伯利亚大草原");
            c.setCharacter("可爱毛茸茸~万花丛中一点红");
            c.setAbility("是耍乖卖萌");
            c.preview();
            c.show();
            c.end();
            break;

            case 4:
            ElectricEel d = new ElectricEel();
            d.setId("004");
            d.setName("加拿大电鳗");
            d.setColor("black and thick");
            d.setBody("black");
            d.setCountry("中国");
            d.show();
            break;
        }

            System.out.println("欢迎下次光临飞飞动物园~");
    }
}
